 import Mock from 'mockjs';

const Goodss = [];

for (let i = 0; i < 25; i++) {
  Goodss.push(Mock.mock({
		id:Mock.Random.string(5),
		categoryId:Mock.Random.ctitle(1,0) , 
		goodsSn:Mock.Random.ctitle(1,0) , 
		name:Mock.Random.ctitle(1,0) , 
		brandId:Mock.Random.ctitle(1,0) , 
		'goodsNumber|0-8': 1 , 
		keywords:Mock.Random.ctitle(1,5) , 
		goodsBrief:Mock.Random.ctitle(1,5) , 
		goodsDesc:Mock.Random.ctitle(1,0) , 
		isOnSale:Mock.Random.character('lower') , 
		addTime:Mock.Random.date('yyyy-MM-dd') , 
		'sortOrder|0-4': 1 , 
		isDelete:Mock.Random.character('lower') , 
		attributeCategory:Mock.Random.ctitle(1,0) , 
		counterPrice:  Mock.Random.cname() , 
		extraPrice:  Mock.Random.cname() , 
		isNew:Mock.Random.character('lower') , 
		goodsUnit:Mock.Random.ctitle(1,5) , 
		primaryPicUrl:Mock.Random.ctitle(1,5) , 
		listPicUrl:Mock.Random.ctitle(1,5) , 
		retailPrice:  Mock.Random.cname() , 
		'sellVolume|0-11': 1 , 
		primaryProductId:Mock.Random.ctitle(1,0) , 
		unitPrice:  Mock.Random.cname() , 
		promotionDesc:Mock.Random.ctitle(1,5) , 
		promotionTag:Mock.Random.ctitle(1,5) , 
		appExclusivePrice:  Mock.Random.cname() , 
		isAppExclusive:Mock.Random.character('lower') , 
		isLimited:Mock.Random.character('lower') , 
		isHot:Mock.Random.character('lower') , 
		wholesalePrice:  Mock.Random.cname() , 
		deptid:Mock.Random.ctitle(1,0)
  }));
}

export { Goodss };
